<include file="layout/header" />

<div id="content">

	<div class="row">
		<div class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
			<h1 class="page-title txt-color-blueDark">
				<i class="fa fa-pencil-square-o fa-fw "></i> 
					用户组
			</h1>
		</div>
	</div>
	
	<!-- widget grid -->
	<section id="widget-grid" class="">
	
		<!-- row -->
		<div class="row">
			<!-- NEW COL START -->
			<article class="col-sm-6">
	
				<!-- Widget ID (each widget will need unique ID)-->
				<div class="jarviswidget jarviswidget-color-blueDark" id="wid-id-0" data-widget-colorbutton="false" data-widget-editbutton="false" data-widget-custombutton="false">
					<header>
						<span class="widget-icon"> <i class="fa fa-edit"></i> </span>
					</header>
	
					<!-- widget div-->
					<div>
						<!-- widget edit box -->
						<div class="jarviswidget-editbox">
							<!-- This area used as dropdown edit box -->
						</div>
						<!-- end widget edit box -->
						<!-- widget content -->
						<div class="widget-body">
							<div class="widget-body-toolbar">
								<div class="row">
									<div class="col-sm-6">
										注：<code>只有管理员组身份才可设置权限</code>
									</div>
								</div>
							</div>

							<table id="user" class="table table-bordered table-striped" style="clear: both;text-align: center;">
								<tbody>
									<tr>
										<td style="width:10%;">序号</td>
										<td style="width:30%">组名</td>
										<td style="width:30%">身份类型</td>
										<td style="width:30%">权限操作</td>
									</tr>
									<volist name='data' id='vo'>
										<tr>
											<td style="width:10%;">{{$vo.id}}</td>
											<td style="width:30%">{{$vo.group_name}}</td>
											
											<if condition="$vo['is_sys'] eq 1">
                                                <td style="width:30%">用户组</td>
                                                <td style="width:30%"></td>
                                            <else />
                                                <td>管理员组</td>
                                                <td style="width:30%"><a href="{{:url('manage/Group/permiss',array('id'=>$vo['id']))}}" id="username" data-type="text" data-pk="1" data-original-title="Enter username" target="_blak">设置</a></td>
                                            </if>
										</tr>
									</volist>

								</tbody>
							</table>
						</div>
						<!-- end widget content -->
					</div>
					<!-- end widget div -->
				</div>
				<!-- end widget -->
			</article>
			<!-- END COL -->
		</div>
		<!-- end row -->
	</section>
	<!-- end widget grid -->

</div>
<include file="layout/footer" />